<template>
  <a-modal :width="800" :visible="previewVisible" :footer="null" @cancel="handleCancel">
    <img alt="加载图片失败！" style="width: 100%;height: 700px" :src="ImageSrc" />
  </a-modal>
</template>
<script>
export default {
  name: "BigImgModal",
  data () {
    return {
      ImageSrc:'',
      previewVisible:false,
      url:{
        imgerver: window._CONFIG['domianURL'] + "/sys/common/view",
      }
    }
  },
  created () {
  },
  methods: {
    setImage(src){
      console.log("src-->",src);
      this.ImageSrc=this.url.imgerver + "/" +src;
    },
    handleCancel() {
      this.previewVisible = false;
    },
  }
}
</script>

<style scoped>

</style>